import React, { Component } from 'react'
import { Row, Col } from 'antd'
import NavLeft from './components/navLeft'
import Header from './components/header'
import Footer from './components/footer'
// import Home from './pages/home'
import './style/common.less'
class Admin extends Component {
  render() {
    return (
      <Row className="container">
        <Col className="nav-left" span={3}>
          <NavLeft />
        </Col>
        <Col className="main" span={21}>
          <Header />
          <Row className="content">{this.props.children}</Row>
          <Footer />
        </Col>
      </Row>
    )
  }
}

export default Admin
